<?php
/**
 * Created by PhpStorm.
 * User: spatra
 * Date: 14-11-18
 * Time: 下午3:45
 */

class LessonDiscussionsTableTestSeeder extends Seeder
{
    public function run()
    {
        DB::table('lesson_discussions')->insert([
        ['lesson_id'=>1, 'creater_id'=>1, 'title'=>'练习题好难啊', 'content'=>'1+1等于几啊', 'created_at'=>date('Y-m-d'), 'updated_at'=>date('Y-m-d')],
        ['lesson_id'=>2, 'creater_id'=>1, 'title'=>'练习题太简单了', 'content'=>'宇宙的终极答案是什么？', 'created_at'=>date('Y-m-d'), 'updated_at'=>date('Y-m-d')],
        ]);
    }
}